package com.pojo;

public class Tch {
    private int tid;
    private String tname;
    private int tsid;
    private String tmajor;
    private String tcla;
    private int tage;
    private String tsex;
    private String tcall;


    public Tch() {
    }

    public Tch(int tid, String tname, int tsid, String tmajor, String tcla, int tage, String tsex, String tcall) {
        this.tid = tid;
        this.tname = tname;
        this.tsid = tsid;
        this.tmajor = tmajor;
        this.tcla = tcla;
        this.tage = tage;
        this.tsex = tsex;
        this.tcall = tcall;
    }

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public int getTsid() {
        return tsid;
    }

    public void setTsid(int tsid) {
        this.tsid = tsid;
    }

    public String getTmajor() {
        return tmajor;
    }

    public void setTmajor(String tmajor) {
        this.tmajor = tmajor;
    }

    public String getTcla() {
        return tcla;
    }

    public void setTcla(String tcla) {
        this.tcla = tcla;
    }

    public int getTage() {
        return tage;
    }

    public void setTage(int tage) {
        this.tage = tage;
    }

    public String getTsex() {
        return tsex;
    }

    public void setTsex(String tsex) {
        this.tsex = tsex;
    }

    public String getTcall() {
        return tcall;
    }

    public void setTcall(String tcall) {
        this.tcall = tcall;
    }

    @Override
    public String toString() {
        return "Tch{" +
                "tid=" + tid +
                ", tname='" + tname + '\'' +
                ", tsid=" + tsid +
                ", tmajor='" + tmajor + '\'' +
                ", tcla='" + tcla + '\'' +
                ", tage=" + tage +
                ", tsex='" + tsex + '\'' +
                ", tcall='" + tcall + '\'' +
                '}';
    }
}
